﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Telerik.WinControls.UI.Localization;

namespace BGCOP.CAVTOP.WINFORMS.frmtlk
{
    public class MyEnglishRadGridLocalizationProvider : RadGridLocalizationProvider
    {
        public override string GetLocalizedString(string id)
        {
            switch (id)
            {
                case RadGridStringId.FilterFunctionBetween: return "Entre";
                case RadGridStringId.FilterFunctionContains: return "Contiene";
                case RadGridStringId.FilterFunctionDoesNotContain: return "No contiene";
                case RadGridStringId.FilterFunctionEndsWith: return "Termina con";
                case RadGridStringId.FilterFunctionEqualTo: return "Igual";
                case RadGridStringId.FilterFunctionGreaterThan: return "Mayor que";
                case RadGridStringId.FilterFunctionGreaterThanOrEqualTo: return "Mayor igual a";
                case RadGridStringId.FilterFunctionIsEmpty: return "es vacio";
                case RadGridStringId.FilterFunctionIsNull: return "es null";
                case RadGridStringId.FilterFunctionLessThan: return "Menor que";
                case RadGridStringId.FilterFunctionLessThanOrEqualTo: return "Menor igual a";
                case RadGridStringId.FilterFunctionNoFilter: return "Sin filtro";
                case RadGridStringId.FilterFunctionNotBetween: return "no esta entre";
                case RadGridStringId.FilterFunctionNotEqualTo: return "diferente de";
                case RadGridStringId.FilterFunctionNotIsEmpty: return "No es vacio";
                case RadGridStringId.FilterFunctionNotIsNull: return "No es nullo";
                case RadGridStringId.FilterFunctionStartsWith: return "Comienza por";
                case RadGridStringId.FilterFunctionCustom: return "Ajuste";

                case RadGridStringId.FilterOperatorBetween: return "Between";
                case RadGridStringId.FilterOperatorContains: return "Contains";
                case RadGridStringId.FilterOperatorDoesNotContain: return "NotContain";
                case RadGridStringId.FilterOperatorEndsWith: return "EndsWith";
                case RadGridStringId.FilterOperatorEqualTo: return "Equal";
                case RadGridStringId.FilterOperatorGreaterThan: return "GreaterThan";
                case RadGridStringId.FilterOperatorGreaterThanOrEqualTo: return "GreaterThanOrEqual";
                case RadGridStringId.FilterOperatorIsEmpty: return "IsEmpty";
                case RadGridStringId.FilterOperatorIsNull: return "IsNull";
                case RadGridStringId.FilterOperatorLessThan: return "LessThan";
                case RadGridStringId.FilterOperatorLessThanOrEqualTo: return "LessThanOrEqual";
                case RadGridStringId.FilterOperatorNoFilter: return "No filter";
                case RadGridStringId.FilterOperatorNotBetween: return "NotBetween";
                case RadGridStringId.FilterOperatorNotEqualTo: return "NotEqual";
                case RadGridStringId.FilterOperatorNotIsEmpty: return "NotEmpty";
                case RadGridStringId.FilterOperatorNotIsNull: return "NotNull";
                case RadGridStringId.FilterOperatorStartsWith: return "StartsWith";
                case RadGridStringId.FilterOperatorIsLike: return "Like";
                case RadGridStringId.FilterOperatorNotIsLike: return "NotLike";
                case RadGridStringId.FilterOperatorIsContainedIn: return "ContainedIn";
                case RadGridStringId.FilterOperatorNotIsContainedIn: return "NotContainedIn";
                case RadGridStringId.FilterOperatorCustom: return "Custom";

                case RadGridStringId.CustomFilterMenuItem: return "Custom";
                case RadGridStringId.CustomFilterDialogCaption: return "RadGridView Filter Dialog";
                case RadGridStringId.CustomFilterDialogLabel: return "Show rows where:";
                case RadGridStringId.CustomFilterDialogRbAnd: return "And";
                case RadGridStringId.CustomFilterDialogRbOr: return "Or";
                case RadGridStringId.CustomFilterDialogBtnOk: return "OK";
                case RadGridStringId.CustomFilterDialogBtnCancel: return "Cancel";
                case RadGridStringId.CustomFilterDialogCheckBoxNot: return "Not";
                case RadGridStringId.CustomFilterDialogTrue: return "True";
                case RadGridStringId.CustomFilterDialogFalse: return "False";

                case RadGridStringId.FilterMenuAvailableFilters: return "Available Filters";
                case RadGridStringId.FilterMenuSearchBoxText: return "Search...";
                case RadGridStringId.FilterMenuClearFilters: return "Clear Filter";
                case RadGridStringId.FilterMenuButtonOK: return "OK";
                case RadGridStringId.FilterMenuButtonCancel: return "Cancel";
                case RadGridStringId.FilterMenuSelectionAll: return "All";
                case RadGridStringId.FilterMenuSelectionAllSearched: return "All Search Result";
                case RadGridStringId.FilterMenuSelectionNull: return "Null";
                case RadGridStringId.FilterMenuSelectionNotNull: return "Not Null";

                case RadGridStringId.FilterLogicalOperatorAnd: return "AND";
                case RadGridStringId.FilterLogicalOperatorOr: return "OR";
                case RadGridStringId.FilterCompositeNotOperator: return "NOT";

                case RadGridStringId.DeleteRowMenuItem: return "Eliminar Registro";
                case RadGridStringId.SortAscendingMenuItem: return "Ordenar [A-Z]";
                case RadGridStringId.SortDescendingMenuItem: return "Ordernar [Z-A]";
                case RadGridStringId.ClearSortingMenuItem: return "Clear Sorting";
                case RadGridStringId.ConditionalFormattingMenuItem: return "Conditional Formatting";
                case RadGridStringId.GroupByThisColumnMenuItem: return "Agrupar por esta columna";
                case RadGridStringId.UngroupThisColumn: return "Ungroup this column";
                case RadGridStringId.ColumnChooserMenuItem: return "Column Chooser";
                case RadGridStringId.HideMenuItem: return "Hide Column";
                case RadGridStringId.UnpinMenuItem: return "Unpin Column";
                case RadGridStringId.UnpinRowMenuItem: return "Unpin Row";
                case RadGridStringId.PinMenuItem: return "Estado de Acoplamiento";
                case RadGridStringId.PinAtLeftMenuItem: return "Fijar a la izquierda";
                case RadGridStringId.PinAtRightMenuItem: return "Fijar a la derecha";
                case RadGridStringId.PinAtBottomMenuItem: return "Fijar a inferior";
                case RadGridStringId.PinAtTopMenuItem: return "Fijar en superior";
                case RadGridStringId.BestFitMenuItem: return "Best Fit";
                case RadGridStringId.PasteMenuItem: return "Pegar";
                case RadGridStringId.EditMenuItem: return "Editar";
                case RadGridStringId.ClearValueMenuItem: return "Limpiar Valor";
                case RadGridStringId.CopyMenuItem: return "Copiar";
                case RadGridStringId.CutMenuItem: return "Cortar";
                case RadGridStringId.AddNewRowString: return "Haga click aqui para agregar un nuevo registro";
                case RadGridStringId.ConditionalFormattingCaption: return "Conditional Formatting Rules Manager";
                case RadGridStringId.ConditionalFormattingLblColumn: return "Format only cells with";
                case RadGridStringId.ConditionalFormattingLblName: return "Rule name:";
                case RadGridStringId.ConditionalFormattingLblType: return "Cell value:";
                case RadGridStringId.ConditionalFormattingLblValue1: return "Value 1:";
                case RadGridStringId.ConditionalFormattingLblValue2: return "Value 2:";
                case RadGridStringId.ConditionalFormattingGrpConditions: return "Rules";
                case RadGridStringId.ConditionalFormattingGrpProperties: return "Rule Properties";
                case RadGridStringId.ConditionalFormattingChkApplyToRow: return "Apply this rule to entire row";
                case RadGridStringId.ConditionalFormattingBtnAdd: return "Add new rule";
                case RadGridStringId.ConditionalFormattingBtnRemove: return "Remove selected rule";
                case RadGridStringId.ConditionalFormattingBtnOK: return "OK";
                case RadGridStringId.ConditionalFormattingBtnCancel: return "Cancel";
                case RadGridStringId.ConditionalFormattingBtnApply: return "Apply";
                case RadGridStringId.ConditionalFormattingRuleAppliesOn: return "Rule applies on:";
                case RadGridStringId.ConditionalFormattingChooseOne: return "[Choose one]";
                case RadGridStringId.ConditionalFormattingEqualsTo: return "equals to [Value1]";
                case RadGridStringId.ConditionalFormattingIsNotEqualTo: return "is not equal to [Value1]";
                case RadGridStringId.ConditionalFormattingStartsWith: return "starts with [Value1]";
                case RadGridStringId.ConditionalFormattingEndsWith: return "ends with [Value1]";
                case RadGridStringId.ConditionalFormattingContains: return "contains [Value1]";
                case RadGridStringId.ConditionalFormattingDoesNotContain: return "does not contain [Value1]";
                case RadGridStringId.ConditionalFormattingIsGreaterThan: return "is greater than [Value1]";
                case RadGridStringId.ConditionalFormattingIsGreaterThanOrEqual: return "is greater than or equal [Value1]";
                case RadGridStringId.ConditionalFormattingIsLessThan: return "is less than [Value1]";
                case RadGridStringId.ConditionalFormattingIsLessThanOrEqual: return "is less than or equal to [Value1]";
                case RadGridStringId.ConditionalFormattingIsBetween: return "is between [Value1] and [Value2]";
                case RadGridStringId.ConditionalFormattingIsNotBetween: return "is not between [Value1] and [Value1]";

                case RadGridStringId.ColumnChooserFormCaption: return "Column Chooser";
                case RadGridStringId.ColumnChooserFormMessage: return "Drag a column header from the\ngrid here to remove it from\nthe current view.";
                case RadGridStringId.GroupingPanelDefaultMessage: return "Arrastre la columna para efectuar la operacioin de Agrupación";
                case RadGridStringId.GroupingPanelHeader: return "Agrupar por:";
                case RadGridStringId.NoDataText: return "No data to display";
                case RadGridStringId.CompositeFilterFormErrorCaption: return "Filter Error";
            }

            return string.Empty;
        }
    }
}
